package com.witdata.common.domain.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.witdata.common.domain.dto.CommunityDto;
import com.witdata.common.domain.dto.TagDto;
import com.witdata.common.domain.dto.UserDto;
import lombok.*;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Builder
public class ArticleVo {

    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    private TagDto tag;

    private CommunityDto community;

    private String content;

    private UserVo user;
}
